///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Aug 22 2007)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#ifdef WX_PRECOMP

#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__

#else
#include <wx/wx.h>
#endif //WX_PRECOMP

#include "DialogColorIdTemplate.h"

///////////////////////////////////////////////////////////////////////////

DialogColorIdTemplate::DialogColorIdTemplate( wxWindow* parent, int id, wxString title, wxPoint pos, wxSize size, int style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer1;
	bSizer1 = new wxBoxSizer( wxVERTICAL );
	
	staticTextArea = new wxStaticText( this, wxID_ANY, wxT("Area:"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextArea->Wrap( -1 );
	staticTextArea->SetFont( wxFont( 10, 74, 90, 92, false, wxT("Sans") ) );
	
	bSizer1->Add( staticTextArea, 0, wxALL|wxEXPAND, 8 );
	
	wxBoxSizer* bSizer2;
	bSizer2 = new wxBoxSizer( wxVERTICAL );
	
	staticTextMinArea = new wxStaticText( this, wxID_ANY, wxT("Min Area:"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextMinArea->Wrap( -1 );
	bSizer2->Add( staticTextMinArea, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	sliderMinArea = new wxSlider( this, wxID_ANY, 50, 0, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
	bSizer2->Add( sliderMinArea, 1, wxALL|wxEXPAND, 5 );
	
	staticTextMaxArea = new wxStaticText( this, wxID_ANY, wxT("Max Area:"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextMaxArea->Wrap( -1 );
	bSizer2->Add( staticTextMaxArea, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
	
	sliderMaxArea = new wxSlider( this, wxID_ANY, 50, 0, 100, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL );
	bSizer2->Add( sliderMaxArea, 0, wxALL|wxEXPAND, 5 );
	
	bSizer1->Add( bSizer2, 1, wxEXPAND, 5 );
	
	this->SetSizer( bSizer1 );
	this->Layout();
	
	// Connect Events
	sliderMinArea->Connect( wxEVT_SCROLL_TOP, wxScrollEventHandler( DialogColorIdTemplate::OnMinAreaScroll ), NULL, this );
	sliderMinArea->Connect( wxEVT_SCROLL_BOTTOM, wxScrollEventHandler( DialogColorIdTemplate::OnMinAreaScroll ), NULL, this );
	sliderMinArea->Connect( wxEVT_SCROLL_LINEUP, wxScrollEventHandler( DialogColorIdTemplate::OnMinAreaScroll ), NULL, this );
	sliderMinArea->Connect( wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler( DialogColorIdTemplate::OnMinAreaScroll ), NULL, this );
	sliderMinArea->Connect( wxEVT_SCROLL_PAGEUP, wxScrollEventHandler( DialogColorIdTemplate::OnMinAreaScroll ), NULL, this );
	sliderMinArea->Connect( wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler( DialogColorIdTemplate::OnMinAreaScroll ), NULL, this );
	sliderMinArea->Connect( wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler( DialogColorIdTemplate::OnMinAreaScroll ), NULL, this );
	sliderMinArea->Connect( wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler( DialogColorIdTemplate::OnMinAreaScroll ), NULL, this );
	sliderMinArea->Connect( wxEVT_SCROLL_CHANGED, wxScrollEventHandler( DialogColorIdTemplate::OnMinAreaScroll ), NULL, this );
	sliderMaxArea->Connect( wxEVT_SCROLL_TOP, wxScrollEventHandler( DialogColorIdTemplate::OnMaxAreaScroll ), NULL, this );
	sliderMaxArea->Connect( wxEVT_SCROLL_BOTTOM, wxScrollEventHandler( DialogColorIdTemplate::OnMaxAreaScroll ), NULL, this );
	sliderMaxArea->Connect( wxEVT_SCROLL_LINEUP, wxScrollEventHandler( DialogColorIdTemplate::OnMaxAreaScroll ), NULL, this );
	sliderMaxArea->Connect( wxEVT_SCROLL_LINEDOWN, wxScrollEventHandler( DialogColorIdTemplate::OnMaxAreaScroll ), NULL, this );
	sliderMaxArea->Connect( wxEVT_SCROLL_PAGEUP, wxScrollEventHandler( DialogColorIdTemplate::OnMaxAreaScroll ), NULL, this );
	sliderMaxArea->Connect( wxEVT_SCROLL_PAGEDOWN, wxScrollEventHandler( DialogColorIdTemplate::OnMaxAreaScroll ), NULL, this );
	sliderMaxArea->Connect( wxEVT_SCROLL_THUMBTRACK, wxScrollEventHandler( DialogColorIdTemplate::OnMaxAreaScroll ), NULL, this );
	sliderMaxArea->Connect( wxEVT_SCROLL_THUMBRELEASE, wxScrollEventHandler( DialogColorIdTemplate::OnMaxAreaScroll ), NULL, this );
	sliderMaxArea->Connect( wxEVT_SCROLL_CHANGED, wxScrollEventHandler( DialogColorIdTemplate::OnMaxAreaScroll ), NULL, this );
}
